package com.example.money.Dao;

import com.example.money.Entity.Login;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginDao {
    /**
     * 实现登录的数据层
     */
    @Select("select * from users where user=#{user} and password=#{password}")
    Login login(Login login);
}
